package com.grgbanking.it.system.service;


import com.grgbanking.it.base.IAlterService;
import com.grgbanking.it.base.IDeleteService;
import com.grgbanking.it.base.ISearchOneJSONService;
import com.grgbanking.it.system.entity.WXMenu;

/**
 * 微信菜单管理
 * 
 * IWXMenuService
 * 
 * @author 潘广伟
 * @Email p_3er@qq.com
 * @Date 2015-1-8 上午9:51:16
 * 
 * @version 1.0.0
 *
 */
public interface IWXMenuService extends IAlterService<WXMenu>,ISearchOneJSONService<Integer>,IDeleteService<Integer> {
	public String findToTree(Integer agentId) throws Exception;
	/**
	 * 获取所有有效父菜单
	 * findParentMenus
	 * 
	 * @return
	 * @throws Exception 
	 * @exception 
	 * @since  1.0.0
	 */
	public String findParentMenus(Integer agentId) throws Exception;
	/**
	 * 更新应用菜单到微信
	 * updateMemuToWX
	 * 
	 * @param agentId
	 * @throws Exception 
	 * @exception 
	 * @since  1.0.0
	 */
	public void updateMemuToWX(Integer agentId) throws Exception;
	
}